package com.yvon.maple.service.msg.core.common.model.send;

import com.yvon.maple.service.msg.core.common.domain.TaskInfo;
import com.yvon.maple.service.msg.core.model.vo.MessageVo;
import com.yvon.maple.service.msg.core.support.pipeline.ProcessModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 发送消息任务模型
 *
 * @author : Yvon
 * @since : 2021-12-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SendTaskModel implements ProcessModel {

    /**
     * 消息模板Id
     */
    private Long messageTemplateId;

    /**
     * 请求参数
     */
    private List<MessageVo> messageVoList;

    /**
     * 发送任务的信息
     */
    private List<TaskInfo> taskInfo;


}
